<?php 
    require_once './model/articles.php';
    $obj = new Articles();
    $articles =$obj->select();
?>
<div id="content">
    <?php foreach ($articles as $article): ?>
    <div class="post">
        <h1 class="title"><a href="#"><?php echo $article['title'] ?></a></h1>
        <p class="meta"><small>Posted on 23-07-2014 by <a href="#">Kata</a></small></p>
        <div class="entry">
            <p><?php echo $article['overview'] ?></p>
        </div>
    </div>
    <?php endforeach; ?>
    
    <!-- DC Pagination:A1 Start -->
    <ul class="tsc_pagination tsc_paginationA tsc_paginationA01">
        <li><a href="#" class="first">First</a></li>
        <li><a href="#" class="previous">Previous</a></li>
        <li><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#" class="current">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
        <li><a href="#" class="next">Next</a></li>
        <li><a href="#" class="last">Last</a></li>
    </ul>
    <!-- DC Pagination:A1 End -->
</div>